const ctx = new AudioContext();
const osc = ctx.createOscillator();
const filter = ctx.createBiquadFilter();

filter.type = "lowpass";
filter.frequency.value = 100; // default: 340Hz

osc.connect(filter);
filter.connect(ctx.destination);
osc.start(0);
osc.stop(2);
